/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __PQ_TerrainTextureManager_H__
#define __PQ_TerrainTextureManager_H__

#include "BuilderPrerequisites.h"

#include <QtCore/QFileInfoList>

namespace PQBuilder
{
	class TerrainTextureManager
	{
	protected:
		
		TerrainTextureManager();
	public:

		static TerrainTextureManager& getSingleton()
		{
			static TerrainTextureManager inst;
			return inst;
		}

		int getTextureCount(){
			return _texfiles.size();
		}

		QFileInfo getTerrainFileInfo(int i)
		{
			return _texfiles[i];
		}
	protected:
		QFileInfoList _texfiles;

	};
}

#endif
